/*============================================================================
 * Copyright 2009 VMware Inc.
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 
 * use this file except in compliance with the License. You may obtain a copy 
 * of the License at: http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 
 * License for the specific language governing permissions and limitations 
 * under the License.
 ============================================================================*/

package com.vmware.vcloud.data;

/**
 * @author Steve Jin (sjin@vmware.com)
 */

public class VCloudConstants 
{
	final public static String TYPE = "type";

	// vCloud resource types
	final public static String TYPE_ORG = "application/vnd.vmware.vcloud.org+xml";
	final public static String TYPE_VDC = "application/vnd.vmware.vcloud.vdc+xml";
	final public static String TYPE_CATALOG = "application/vnd.vmware.vcloud.catalog+xml";
	final public static String TYPE_CATALOGITEM = "application/vnd.vmware.vcloud.catalogItem+xml";
	final public static String TYPE_TASKSLIST = "application/vnd.vmware.vcloud.tasksList+xml";
	final public static String TYPE_TASK = "application/vnd.vmware.vcloud.task+xml";
	final public static String TYPE_VAPP = "application/vnd.vmware.vcloud.vApp+xml";
	final public static String TYPE_VAPPTEMPLATE = "application/vnd.vmware.vcloud.vAppTemplate+xml";
	final public static String TYPE_NETWORK = "application/vnd.vmware.vcloud.network+xml";

	// HTTP content types for some actions
	final public static String CONTENT_TYPE_INST_VAPP = "application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml";
	
	final public static String REL = "rel";
	final public static String DOWN = "down";
	final public static String REL_SELF = "self";
	final public static String REL_ITEM = "item";
	final public static String REL_ADD = "add";
	
	final public static String HREF = "href";
	
	final public static String TAG_VAPPS = "vapps";
	final public static String TAG_VAPP  = "vapp";
	
	final public static String ELEM_LINK = "Link";
	final public static String ELEM_CATALOGITEM = "CatalogItem";
	final public static String ELEM_CATALOGITEMS = "CatalogItems";
	
	final public static String ELEM_DESC = "description";
}